package com.yiyi.user.utils;

public class StringExtractor {
    public static String extractContent(String input, String start, String end) {
        int startIndex = input.indexOf(start);
        if (startIndex == -1) {
            return ""; // 起始字符串未找到
        }
        int endIndex = input.indexOf(end, startIndex + start.length());
        if (endIndex == -1) {
            return ""; // 结束字符串未找到
        }
        return input.substring(startIndex + start.length(), endIndex);
    }


}
